//
//  BNDOfficeDocHandle.m
//  OfficeDocSdk
//
//  Created by pie on 2022/4/23.
//

#import "BNDOfficeDocHandle.h"
#import "BNDOfficeDocKit.h"

@implementation BNDOfficeDocHandle


+ (void)bndRegisterInfo:(NSString*)companyOpenId openId:(NSString*)openId token:(NSString*)token 
{
    [BNDPreference sharedInstance].companyOpenId = companyOpenId;
    [BNDPreference sharedInstance].openId = openId;
    [BNDPreference sharedInstance].token = token;
    [BNDPreference handleCompanyInfo];
    [BNDPreference handleUserInfo];
    [BNDPreference hanOSSUploadFile];
}

+ (void)handleJumpRealName:(BNDBlock)completeRealNameBlock
{
    [BNDPreference sharedInstance].realNameJumpBlock = completeRealNameBlock;
}

+ (void)handlePushCardeVc
{
    [BNDPreference handlePushHomeVc];
}

+ (void)handleOfficeDocListVc
{
    [BNDPreference handleOfficeDocListVc];
}

+ (void)handleOfficeDocDetailsVc:(NSString * _Nullable )officeDocId
{
    [BNDPreference handleOfficeDocDetailsVc:officeDocId];
}
@end
